const InfoManage = ()=>import('@/components/FactoryInfoManage/InfoManage')
const RegisteCheck = ()=>import('@/components/FactoryInfoManage/RegisteCheck')
const TotalFactory = ()=>import('@/components/FactoryInfoManage/TotalFactory')
const EquipmentCheck = ()=>import('@/components/FrontedEquipment/EquipmentCheck')
const EquipmentMange = ()=>import('@/components/FrontedEquipment/EquipmentMange')
const EquipmentTotal = ()=>import('@/components/FrontedEquipment/EquipmentTotal')
const AlarmMessage = ()=>import('@/components/MessageMage/AlarmMessage')
const ChatInfo = ()=>import('@/components/MessageMage/ChatInfo')
const InformMessage = ()=>import('@/components/MessageMage/InformMessage')
const MonitoringCheck = ()=>import('@/components/MobileMonitoring/MonitoringCheck')
const MonitoringManage = ()=>import('@/components/MobileMonitoring/MonitoringManage')
const MonitoringTotal = ()=>import('@/components/MobileMonitoring/MonitoringTotal')
const AddServers = ()=>import('@/components/ServerMange/AddServers')
const ServerInfo = ()=>import('@/components/ServerMange/ServerInfo')
const LoginEquipment = ()=>import('@/components/SystemInfo/LoginEquipment')
const LoginUserinfo = ()=>import('@/components/SystemInfo/LoginUserinfo')
const SystemRunninginfo = ()=>import('@/components/SystemInfo/SystemRunninginfo')
const CallbackMange = ()=>import('@/components/TerraceManage/CallbackMange')
const TerracePublish = ()=>import('@/components/TerraceManage/TerracePublish')
const UsersInfo = ()=>import('@/components/UsersMange/UsersInfo')
const UsersTotal = ()=>import('@/components/UsersMange/UsersTotal')

import ManageIndex from '@/components/ManageIndex'
import Login from '@/components/Login'
import Home from '@/components/Home'
import Personal from '@/components/Personal'
import Messages from '@/components/Messages'

export default[{
  path:'/',
  redirect:'/login'
},
{
  path:'/login',
  components:{
    default:Login
  },
},
{
  path:'/home',
  isHeader:true,
  title:'返回首页',
  icon:"&#xe654;",
  components:{
    default:Home
  },
},
{
  path:'/personal',
  isHeader:true,
  title:'个人中心',
  icon:"&#xe656;",
  components:{
    default:Personal
  },
},
{
  path:'/messages',
  isHeader:true,
  title:"消息中心",
  icon:"&#xe659;",
  components:{
    default:Messages
  },
},
{
  path:'/manageIndex',
  name:'manageIndex',
  component:ManageIndex,
  // children:[]
},
{
  path:'/FactoryInfoManage/registeCheck',
  name:'registeCheck',
  component:RegisteCheck
},{
  path:'/FactoryInfoManage/infoManage',
  name:'infoManage',
  component:InfoManage
},{
  path:'/FactoryInfoManage/totalFactory',
  name:'totalFactory',
  component:TotalFactory
},{
  path:'/FrontedEquipment/equipmentCheck',
  name:'equipmentCheck',
  component:EquipmentCheck
},
{
  path:'/FrontedEquipment/equipmentMange',
  name:'equipmentMange',
  component:EquipmentMange
},{
  path:'/FrontedEquipment/equipmentTotal',
  name:'equipmentTotal',
  component:EquipmentTotal
},
{
  path:'/MessageMage/alarmMessage',
  name:'alarmMessage',
  component:AlarmMessage
},
{
  path:'/MessageMage/chatInfo',
  name:'chatInfo',
  component:ChatInfo
},
{
  path:'/MessageMage/informMessage',
  name:'informMessage',
  component:InformMessage
},
{
  path:'/MobileMonitoring/monitoringCheck',
  name:'monitoringCheck',
  component:MonitoringCheck
},
{
  path:'/MobileMonitoring/monitoringManage',
  name:'monitoringManage',
  component:MonitoringManage
},
{
  path:'/MobileMonitoring/monitoringTotal',
  name:'monitoringTotal',
  component:MonitoringTotal
},
{
  path:'/ServerMange/addServers',
  name:'addServers',
  component:AddServers
},
{
  path:'/ServerMange/serverInfo',
  name:'serverInfo',
  component:ServerInfo
},
{
  path:'/SystemInfo/loginEquipment',
  name:'loginEquipment',
  component:LoginEquipment
},
{
  path:'/SystemInfo/loginUserinfo',
  name:'loginUserinfo',
  component:LoginUserinfo
},
{
  path:'/SystemInfo/systemRunninginfo',
  name:'systemRunninginfo',
  component:SystemRunninginfo
},
{
  path:'/TerraceManage/callbackMange',
  name:'callbackMange',
  component:CallbackMange
},
{
  path:'/TerraceManage/terracePublish',
  name:'terracePublish',
  component:TerracePublish
},
{
  path:'/UsersMange/usersInfo',
  name:'usersInfo',
  component:UsersInfo
},
{
  path:'/UsersMange/usersTotal',
  name:'usersTotal',
  component:UsersTotal
},
]
